<?php
/**
 * @package    Tourstart
 * @subpackage Tests
 * @author     Mike Bevz <mike.bevz@data2people.com>
 * @version    SVN: $Id: AllTests.php 7 2008-11-28 04:33:32Z michael.bevz $
 *
 */
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Text_AllTests::main');
}

ini_set('apc.enabled', '0');

require_once dirname(__FILE__).'/../testsConfig.php';

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';

/**
 * Tests suits to include
 */
require_once dirname(__FILE__).'/AnalyzerTests.php';

/**
 * Setup front controller
 */

/**
 * All Tourstart_Domain tests runner
 */
class Text_AllTests {

    public static function main() {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    public static function suite() {
        $suite = new PHPUnit_Framework_TestSuite('Data2People All Tests');
        $suite->addTestSuite('AnalyzerTests');
	
        return $suite;
    }
}

if (PHPUnit_MAIN_METHOD == 'Text_AllTests::main') {
    Text_AllTests::main();
}